package es.us.lsi.mwm;


public class ClassA {
    private String atributo1;
    private String atributo2;
    private String atributo3;

    public ClassA() {
        super();
    }

    public ClassA(String atributo1, String atributo2, String atributo3) {
        super();
        this.atributo1 = atributo1;
        this.atributo2 = atributo2;
        this.atributo3 = atributo3;
    }

    public void setAtributo1(String atributo1) {
        this.atributo1 = atributo1;
    }

    public String getAtributo1() {
        return atributo1;
    }

   


    public void setAtributo2(String atributo2) {
        this.atributo2 = atributo2;
    }

    public String getAtributo2() {
        return atributo2;
    }

    @Override
    public boolean equals(Object object) {
        if (this == object) {
            return true;
        }
        if (!(object instanceof ClassA)) {
            return false;
        }
        final ClassA other = (ClassA) object;
        if (!(atributo1 == null ? other.atributo1 == null : atributo1.equals(other.atributo1))) {
            return false;
        }
        if (!(atributo2 == null ? other.atributo2 == null : atributo2.equals(other.atributo2))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        final int PRIME = 37;
        int result = 1;
        result = PRIME * result + ((atributo1 == null) ? 0 : atributo1.hashCode());
        result = PRIME * result + ((atributo2 == null) ? 0 : atributo2.hashCode());
        return result;
    }

    public void setAtributo3(String atributo3) {
        this.atributo3 = atributo3;
    }

    public String getAtributo3() {
        return atributo3;
    }
}
